package com.my.bean;

import org.springframework.stereotype.Component;

/**
 * @author: marshal
 * @date: 2023-05-15 15:18
 */
@Component
public class Hello {
    private String message;

    public void setMessage(String message) {
        this.message = message;
    }

    public void printMessage() {
        System.out.println("hello : " + message);
    }
}
